from urllib import request

request.urlretrieve('https://dss2.bdstatic.com/8_V1bjqh_Q23odCf/pacific/1972078714.jpg', 'what.jpg')

request.urlretrieve('http://shj.xining.gov.cn/zwgk/xxgkml/xzsp/yslxm/202101/t20210129_113117.html/protect/P0202101/P020210129/P020210129629672365191.doc','haha.doc')